package designpattern.single;

/**
 * 采用枚举的单例模式
 */
public enum Singleton {
    INSTANCE;

    public void doSomeThing(){
        System.out.println("doSomeThing");
    }

}
